const resourcesDao = require('../dao/resourcesDao')


module.exports = {
    getCarousel: async ctx => {
        const resList = [];
        const carousel = await resourcesDao.getCarousel();
        resList.push(...carousel)
        ctx.body = {
            status: 80200,
            message: 'success',
            data: resList
        }
    }
}